$(function() {
	var app = new Vue({
		el: "#app",
		data: {
			tabIndex: 0,
			list: ['运动生活', '户外鞋服', '休闲服装', '精品男鞋', '时尚女鞋', '快乐儿童', '全求购', '家居服饰', '品牌馆'],
			products:null,
		},
		mounted(){
			this.lunbo();
		},
		methods: {
			lunbo () {
				var _self=this;
				new Swiper('.menu-left', {
					direction:'vertical',
				    slidesPerView: 'auto',
			        paginationClickable: true
				})
				var url="../data/classify.json";
	            $.get(url,function(data){
	                _self.products = data;
					new Swiper('.swiper-container1', {
					    slidesPerView: 'auto',
				        paginationClickable: true
					})
				})
			}
		}
	})
})